<!--{if $cate_list}-->
<!--{loop $cate_list $citem}-->
	<div class="piece1 mb20">
		<div class="piece1_hd"></div>
		<div class="piece1_bd" style="padding:5px 25px ">
			<div class="share_title fl">
				<h2 class="fl">MM们喜欢的<a target="_blank" href="{u book/cate cate=$citem['cate']['cate_code']}">{$citem['cate']['short_name']}</a>
                <!--{if $citem['today_count'] > 0}-->			
                <a target="_blank" href="{u book/cate cate=$citem['cate']['cate_code'],sort=new}" class="new_tip"><em>今日上新{$citem['today_count']}件</em><i></i></a>
                <!--{/if}-->
                </h2>
                
			</div>
			<div class="cate_share_box fl">
				<ul>
                
                <!--{eval $cate_idx = 1;}-->
                <!--{loop $citem['share_list'] $share}-->
                <!--{if $cate_idx > 6}-->
                <!--{eval break;}-->
                <!--{/if}-->
                <li>
                    <a class="img" href="{u book/cate sid=$share['share_id'],cate=$citem['cate']['cate_code'],tag=$share['name']}" >
                        <img class="lazyload" src="./tpl/images/lazyload.gif" original="{getimg $share['img'] 200 999}" scaleType="3" scaleWidth="150" scaleHeight="170" title="{$share['name']}" alt="{$share['name']}"/>
                        <span>{cutstr $share['name'] 10}</span>
                         <i class="mark"></i>
                    </a>
                   
                </li>
                <!--{eval $cate_idx++;}-->
                <!--{/loop}-->

				</ul>
			</div>
			<div class="cate_short_box fl">
             <span class="st_key fl">
                  <a target="_blank" href="{u book/cate cate=$citem['cate']['cate_code'],sort=hot1}" class="bg1">热门</a>
                  <a target="_blank" href="{u book/cate cate=$citem['cate']['cate_code'],sort=new}" class="bg1">最新</a>
                  <span>|</span>
                  <!--{eval $tag_index =1;}-->
                  <!--{loop $citem['cate']['index_tags'] $tag}-->
                  <a target="_blank" href="{u book/cate sort=hot1,tag=$tag['url_tag'],cate=$citem['cate']['cate_code']}">{$tag['tag_name']}</a>
                  <!--{if $tag_index > 8}-->
                  <!--{eval break;}-->
                  <!--{/if}-->
                  <!--{eval $tag_index++;}-->
                  <!--{/loop}-->
                  <br class="clear" />
              </span>
			  <span class="more fr">
					<a href="{u book/cate cate=$citem['cate']['cate_code']}">更多>></a>
			  </span>
            </div>
		</div>
		<div class="piece1_ft"></div>
	</div>
	<!--{/loop}-->
	<script>
	function CateUpdateUserFollow(obj,result)
	{
		if(result.status == 1)
		{
			$(obj).before('<img src="./tpl/images/flow_ok.gif" />');
			$(obj).remove();
		}
		else{
			$(obj).before('<img src="./tpl/images/to_flow.gif" />');
			$(obj).remove();
		}
	}
	
	</script>
<!--{/if}-->